<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    	 pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div>
	<c:if test="${error != null}">
		<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
		<p>
			<span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
			<strong><c:out value="${tituloError}"></c:out>:</strong><c:out value="${error}"></c:out>
		</p>
		</div>
	</c:if>
	
	<c:if test="${mensaje != null}">
		<div class="ui-widget"> 
			<div class="ui-state-highlight ui-corner-all" style="margin-bottom: 10px; padding: 0 .7em;">
			<p>
				<span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
			 	<strong><c:out value="${mensaje}"></c:out></strong>
			 </p>
			</div>
		</div>
	</c:if>
</div>
